<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="net.zdsoft.wpchat.support.util.PageUtils" %>
<%@ page import="net.zdsoft.wpchat.support.action.auth.ChangePasswordAction" %>
<%
ChangePasswordAction action = (ChangePasswordAction) PageUtils.getAction();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台</title>
<style type="text/css" media="all">@import url("../../css/style.css");</style>
<script type="text/javascript" language="javascript" src="../../script/jquery-1.7.2.js"></script>
<script type="text/javascript" language="javascript" src="../../script/js-utils.js"></script>
<script language="JavaScript">
<!--
function changePassword(){
  var form = document.changePasswordForm;
  var operatorId = form.operatorId.value;
  var password = form.password.value;
  var verifyPassword = form.verifyPassword.value;
  $.post("changePassword.htm",{"operatorId":operatorId,"password":password,"verifyPassword":verifyPassword},function(data){
    printReply(data);
  });
}
//-->
</script>
</head>
<body>
<div id="tableMain">
  <div id="message"></div>
  <div id="message">修改密码</div>
  <form name="changePasswordForm" method="post" action="changePassword.htm">
    <input type="hidden" name="operatorId" value="<%=action.getOperatorId()%>" />
    <table id="dataTable" border="0" align="center" cellpadding="5" cellspacing="1">
      <tr>
        <td width="20%" class="titleTd">新的密码：</td>
        <td width="30%" ><input name="password" type="password" size="20" maxlength="20" /></td>
      </tr>
      <tr>
        <td width="20%" class="titleTd">重复一遍：</td>
        <td width="30%" ><input name="verifyPassword" type="password" size="20" maxlength="20" /></td>
      </tr>
    </table>
    <div id="buttonRight">
      <input type="button" name="okBtn" class="colorButton" value=" 提交 " onclick="changePassword()"/>
      <input type="button" onclick="history.back(-1)"  class="colorButton" value=" 返回 "/>
    </div>
  </form>
</div>
</body>
</html>
